package com.storm.future.lifecycle;

import org.springframework.beans.factory.BeanNameAware;
import org.springframework.stereotype.Component;

/**
 * @author gu
 * @date 2020/3/3 14:44
 */
@Component
public class SoliderBeanNameAware implements BeanNameAware {
	@Override
	public void setBeanName(String name) {
		System.out.println("设置了士兵的名称");
	}
}
